<div class="sc-cnt-linkuteis">
    
    <div class="lista-linkuteis">
        <?php foreach($this->result as $row){ ?>

        <div class="item">
            <a href="<?php echo $row['LNK_URL']; ?>" target="_blank">
            <?php 
                $img = glob('public/upload/linkuteis/'.$row['LNK_ID'].'.*');
                if(isset($img[0])){
            ?>
                <img src="<?php echo $this->urlbase.'/'.$img[0]; ?>" />
            <?php } ?>
                <div class="txt"><?php echo $row['LNK_NOM']; ?></div>
            </a>
        </div>

        <?php } ?>
    </div>
 
</div>
        
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>